package com.nieshenkuan.cloud.test;

import java.time.ZoneId;
import java.time.ZonedDateTime;

/**
 * @auther
 * @create
 */
public class ZonedDateTimeDemo
{
    public static void main(String[] args)
    {
        ZonedDateTime zbj = ZonedDateTime.now(); // 默认时区
        System.out.println(zbj);
        //2025-11-01T21:30:35.383434+08:00[Asia/Shanghai]
    }
}